package com.ansion.user.listener;

import androidx.annotation.NonNull;

import com.ansion.user.beanforui.AdminMessageBean;


/**
 * created by zhaoyuntao
 * on 10/08/2021
 * description:
 */
public abstract class BaseContactChangeListener {
    private String tag;

    public BaseContactChangeListener() {
    }

    public abstract boolean match(@NonNull String uid);

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public void onBlockChanged(@NonNull String uid, boolean isBlocked) {
    }

    public void onBlockByOtherChanged(@NonNull String uid, boolean isBlocked) {
    }


    public void onNameChanged(@NonNull String uid) {
    }

    public void onVipChanged(@NonNull String uid, boolean isVip) {

    }
    public void onWalletChanged(@NonNull String uid,boolean isWallet){

    }


    public void onFaceChanged(@NonNull String uid, @NonNull String avatar) {
    }

    public void onEmailChanged(@NonNull String uid, String email) {
    }

    public void onStatusChanged(@NonNull String uid, int status) {
    }

    public void onSigChanged(@NonNull String uid, String status) {
    }

    public void onContactDelete(@NonNull String uid, boolean bySelf) {
    }

    public void onDeleteAccount(@NonNull String uid) {

    }


    public void onContactAdd(@NonNull String uid) {

    }


    public void onContactRequestArrive(@NonNull String uid) {

    }

    public void onContactRequestUnreadClear() {

    }

    public void onContactRequestDelete(@NonNull String uid) {
    }

    public void onGroupMemberInit(@NonNull String groupId) {
    }

    public void onGroupAdminChange(@NonNull String groupId, @NonNull String userId, boolean isAdmin) {
    }

    public void onAddAdminMessage(@NonNull AdminMessageBean adminMessageBean) {
    }

    public void onUpdateAdminMessage(@NonNull AdminMessageBean adminMessageBean) {
    }

    public void onRemoveAdminMessage(@NonNull AdminMessageBean adminMessageBean) {
    }

    public void onGroupBanChange(@NonNull String groupId, boolean ban) {
    }

    public void onGroupMemberBan(@NonNull String groupId, String member, long banUntil) {
    }

    public void onOaVerifiedChange(@NonNull String uid, String iconUrl, boolean certify) {
    }

    public void onGroupMemberChange(@NonNull String groupUid) {

    }

    public void onGroupDescChange(@NonNull String groupId) {
    }

    public void onWallpaperChanged(@NonNull String wallpaperPath) {

    }

    public void onOaVerifiedChange(@NonNull String uid, String iconUrl) {
    }

    public void onE2eeEnableChange(@NonNull String uid, boolean e2eEnable) {
    }

    public void onE2eeKeyVersionChange(@NonNull String uid) {
    }
}
